package net.oschina.bilbodai.common.retrofitor.support;

import net.oschina.bilbodai.common.retrofitor.core.IGlobalURLProvider;
import net.oschina.bilbodai.common.retrofitor.support.test.RetrofitorGlobalUrlService;

/**
 * @author daimao  Date: 16/4/14 Time: 下午8:00
 * @version $Id$
 */
public class GlobalURLProvider implements IGlobalURLProvider {
    @Override
    public String getURL(Class<?> httpServiceType) {
        if (httpServiceType.equals(RetrofitorGlobalUrlService.class))
            return "http://localhost:8080";
        return null;
    }
}